// extract module
var fs = require('fs');
var http = require('http');

// create and run web server
http.createServer(function(request, response) {
	// read HTML file
	fs.readFile('./resources/hello.htm', function(error, data) {
		response.writeHead(200, {'Content-Type': 'text/html'});
		response.end(data);
	});
}).listen(52273, function() {
	console.log('Server Running at http://127.0.0.1:52273');
});